﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace CompilerDLL.LexicalAnalysis
{
    public class ModelTokenType
    {
     
        #region 符号类型

        /// <summary>
        /// 单词符号
        /// </summary>
        private string _lexem;

        public string Lexem
        {
            get { return _lexem; }
            set { _lexem = value; }
        }

        /// <summary>
        /// 种别编号
        /// 保留字 1
        /// 运算符 2
        /// 界符   3
        /// 数字   4
        /// 标志符 5
        /// </summary>
        private int _tokenType;

        public int TokenType
        {
            get { return _tokenType; }
            set { _tokenType = value; }
        }

        /// <summary>
        /// 种别属性
        /// </summary>
        private string _tokenProperty;

        public string TokenProperty
        {
            get { return _tokenProperty; }
            set { _tokenProperty = value; }
        }
        #endregion 
    }
}
